﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using System.Data.Entity;
using WCFThree.Entity;
using WCFThree.Abstract;

namespace WCFThree.Factory
{
    public class UserInfoOperate : BaseOperate, IUserInfo
    {
        public DbSet<UserInfo> GetDbSet()
        {
            return Context.UserInfoes;
        }
        public UserInfo GetModel(int UserID)
        {
            return GetDbSet().Find(UserID);
        }
    }
}
